package com.demo.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.demo.entity.User;



public interface UserService {
	
	public List<User> getUserList();
	
	public User findUserById(Integer id);
	
	public void save(User user);

	public void edit(User user);

	public void delete(Integer id);
	
	public User findByUserNameAndPassword(String userName,String passWord);
	
	public Page<User> findALL(Pageable pageable);

}
